package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.YuanShenConfig;
import com.nys.cqhttp.model.YuanShenConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface YuanShenConfigMapper {
    long countByExample(YuanShenConfigExample example);

    int deleteByExample(YuanShenConfigExample example);

    int deleteByPrimaryKey(String name);

    int insert(YuanShenConfig record);

    int insertSelective(YuanShenConfig record);

    List<YuanShenConfig> selectByExample(YuanShenConfigExample example);

    YuanShenConfig selectByPrimaryKey(String name);

    int updateByExampleSelective(@Param("record") YuanShenConfig record, @Param("example") YuanShenConfigExample example);

    int updateByExample(@Param("record") YuanShenConfig record, @Param("example") YuanShenConfigExample example);

    int updateByPrimaryKeySelective(YuanShenConfig record);

    int updateByPrimaryKey(YuanShenConfig record);
}